import QtQuick 2.13
import QtQuick.Window 2.13
import QtQuick.Controls 2.13
import Qt.labs.calendar 1.0

Rectangle {
    width: 280
    height: 360
    color: "#58ffffff"

    Button {
        id: buttonCancel
        x: parent.width / 2 - width/2
        y: 96
        width: 96
        height: 48
        text: qsTr("Cancel")
        antialiasing: false
        smooth: true
        z: 0
        display: AbstractButton.TextOnly
        clip: false
        wheelEnabled: false
        leftPadding: 8
        padding: 4
        font.kerning: false
        font.weight: Font.Normal
        font.pointSize: 12
        font.capitalization: Font.MixedCase
    }
    BusyIndicator {
        id: busyIndicator
        x: parent.width / 2 - 32
        y: 4
        width: 64
        height: 64
        font.pointSize: 14
        running: true
    }

    Connections {
        target: buttonCancel
        onClicked: {
            console.log("test")
            loginStack.pop()
        }
    }
}
